Locate error source of ExceptionGroup in Python shell
authorshynur <one.last.kiss@outlook.com>
Fri, 3 May 2024 11:40:23 +0000 (19:40 +0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 May 2024 11:48:38 +0000 (14:48 +0300)
commitbfb31a06acadd5e819a3cb8dc6886122e53646f3
tree5345da91aef4e0585fe54e8bb88649b3250bb71b
parentfa0f65aa342e181e0e98f55cbf5d9a9be5ed3be6
Locate error source of ExceptionGroup in Python shell

The Python shell recognizes the line containing a file path and
a line number when an exception is raised up to the top-level,
in order to locate the source of error.  It's supposed to
recognize the built-in ExceptionGroup as well.  (Bug#70653)
* lisp/progmodes/python.el (python-shell-compilation-regexp-alist):
Take the single leading vertical line into account.
* etc/NEWS: Announce this change.
etc/NEWS
lisp/progmodes/python.el